package cn.yunyichina.provider.pay.main;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 支付中心服务子系统启动入口
 *
 * @author zhangkw
 * @date 2016-07-29
 */
public class PayApp {

    private static Logger logger = LoggerFactory.getLogger(PayApp.class);

    private static final String CONFIGURATION = "applicationContext.xml";

    public static void main(String[] args) {
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext(CONFIGURATION);
        applicationContext.start();
        logger.info(">>>>>>> yyt-provider-pay-lite service started <<<<<<<");
        com.alibaba.dubbo.container.Main.main(args);
    }

}
